package com.syedu.cels.entity;

/**
 * @author easonsy
 * @Description
 * @createTime 2022/03/21 22:46:00
 */
public class Word extends Base{
    private char firstletter;
    public Word(){

    }
    public Word(String en,String[] cns){
        super(en,cns);
        this.firstletter=en.charAt(0);
    }

    public char getFirstletter() {
        return firstletter;
    }

    public void setFirstletter(char firstletter) {
        this.firstletter = firstletter;
    }

    @Override
    public String toString() {
        return super.toString()+"首字母"+firstletter;
    }
}
